/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 版本控制
 *
 * @author pigx code generator
 * @date 2019-12-24 15:09:16
 */
@Data
@TableName("iecg_version")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "版本控制")
public class IecgVersion extends Model<IecgVersion> {
private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId
    @ApiModelProperty(value="编号")
    private Long id;
    /**
     * 版本类型
     */
    @ApiModelProperty(value="版本类型")
    private String manageType;
    /**
     * 版本号
     */
    @ApiModelProperty(value="版本号")
    private String version;
    /**
     * 设备数量
     */
    @ApiModelProperty(value="设备数量")
    private Long deviceNum;
    /**
     * 文件大小kb
     */
    @ApiModelProperty(value="文件大小kb")
    private Long fileSize;
    /**
     * 发布时间
     */
    @ApiModelProperty(value="发布时间")
    private Date publishTime;
    /**
     * 紧急发布
     */
    @ApiModelProperty(value="紧急发布")
    private String emergencyRelease;
    /**
     * 发布失败
     */
    @ApiModelProperty(value="发布失败")
    private String publishFail;
	/**
	 * 名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(value="名称")
    private String name;
    /**
     * 外链下载
     */
    @ApiModelProperty(value="外链下载")
    private String download;
    /**
     * 更新内容
     */
    @ApiModelProperty(value="更新内容")
    private String updateLog;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 删除标记
     */
    @ApiModelProperty(value="删除标记")
    private String delFlag;
    }
